Opc.Ua.Core
EndAsync Method



Opc.Ua.Bindings Namespace > ChannelAsyncOperation<T> Class : EndAsync Method
The awaitable response returned from the server.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(Opc.Ua.Bindings.ChannelAsyncOperation`1/d__12)> 
Public Function EndAsync( _ 
   ByVal timeout As Integer, _ 
   Optional ByVal throwOnError As Boolean, _ 
   Optional ByVal ct As CancellationToken _ 
) As Task(Of T)
'Usage
 
Dim instance As ChannelAsyncOperation(Of T)
Dim timeout As Integer
Dim throwOnError As Boolean
Dim ct As CancellationToken
Dim value As Task(Of T)
 
value = instance.EndAsync(timeout, throwOnError, ct)
[AsyncStateMachine(Opc.Ua.Bindings.ChannelAsyncOperation`1/d__12)] 
public Task<T> EndAsync( 
   int timeout, 
   bool throwOnError, 
   CancellationToken ct 
)
[AsyncStateMachine(Opc.Ua.Bindings.ChannelAsyncOperation`1/d__12)] 
public: 
Task<T^>^ EndAsync( 
   int timeout, 
   bool throwOnError, 
   CancellationToken ct 
) 

Parameters

timeout
throwOnError
ct
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ChannelAsyncOperation<T> Class
ChannelAsyncOperation<T> Members